<script setup>
const onClickLeft = () => history.back();
</script>

<template>
  <div class="tksh">
    <div class="c-toubu">
      <van-icon @click="onClickLeft" name="arrow-left" />
      <span class="xuanke">已结束课程</span>
    </div>
    <div class="xq">
      <div class="top">
        <div class="left">
          <span style="font-size: 15px; color: #ccc">订单编号：M20191009 </span>
          <span> 二年级数学志高秋季班(下)</span>
          <span style="color: red">￥2340/10课时</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <div class="right">
          <span style="font-size: 15px; color: red">退款</span>
        </div>
      </div>
      <div class="bottom">
        <div class="tksk">
          <span style="margin-right: 20px">退款成功</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <van-button to="/tkxq" round type="primary">查看详情</van-button>
      </div>
    </div>
    <div class="xq">
      <div class="top">
        <div class="left">
          <span style="font-size: 15px; color: #ccc">订单编号：M20191009 </span>
          <span> 二年级数学志高秋季班(下)</span>
          <span style="color: red">￥2340/10课时</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <div class="right">
          <span style="font-size: 15px; color: red">退款</span>
        </div>
      </div>
      <div class="bottom">
        <div class="tksk">
          <span style="margin-right: 20px">退款成功</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <van-button to="/tkxq" round type="primary">查看详情</van-button>
      </div>
    </div>
    <div class="xq">
      <div class="top">
        <div class="left">
          <span style="font-size: 15px; color: #ccc">订单编号：M20191009 </span>
          <span> 二年级数学志高秋季班(下)</span>
          <span style="color: red">￥2340/10课时</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <div class="right">
          <span style="font-size: 15px; color: red">退款</span>
        </div>
      </div>
      <div class="bottom">
        <div class="tksk">
          <span style="margin-right: 20px">退款成功</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <van-button to="/tkxq" round type="primary">查看详情</van-button>
      </div>
    </div>
    <div class="xq">
      <div class="top">
        <div class="left">
          <span style="font-size: 15px; color: #ccc">订单编号：M20191009 </span>
          <span> 二年级数学志高秋季班(下)</span>
          <span style="color: red">￥2340/10课时</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <div class="right">
          <span style="font-size: 15px; color: red">退款</span>
        </div>
      </div>
      <div class="bottom">
        <div class="tksk">
          <span style="margin-right: 20px">退款成功</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <van-button to="/tkxq" round type="primary">查看详情</van-button>
      </div>
    </div>
    <div class="xq">
      <div class="top">
        <div class="left">
          <span style="font-size: 15px; color: #ccc">订单编号：M20191009 </span>
          <span> 二年级数学志高秋季班(下)</span>
          <span style="color: red">￥2340/10课时</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <div class="right">
          <span style="font-size: 15px; color: red">退款</span>
        </div>
      </div>
      <div class="bottom">
        <div class="tksk">
          <span style="margin-right: 20px">退款成功</span>
          <div>
            <span>实付：</span>
            <span style="color: red; font-size: 15px">￥2325</span>
          </div>
        </div>
        <van-button to="/tkxq" round type="primary">查看详情</van-button>
      </div>
    </div>
  </div>
</template>



<style scoped>
.c-toubu {
  width: 100%;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  line-height: 50px;
  border-bottom: 1px solid #999999;
  position: fixed;
  top: 0;
  background-color: #fff;
  z-index: 999;
}

.xuanke {
  margin-left: 10px;
}
.van-cell {
  font-size: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #000;
}

.tksh {
  background-color: rgb(224, 224, 224);
}
.xq {
  background-color: #fff;
  display: flex;
  align-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 8px;
  padding-top: 50px;
}

.tksk {
  display: flex;
}
.top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid #ccc;
  padding: 10px;
}

.top .left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 35px;
}

.bottom {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
  padding: 10px;
}
</style>